package com.xy.modular.basics.service.impl;

import com.xy.framework.base.dao.IBaseDao;
import com.xy.framework.base.service.BaseServiceImpl;
import com.xy.framework.exceptions.ValidateParamException;
import com.xy.modular.basics.dao.CompanyMapper;
import com.xy.modular.basics.entity.Company;
import com.xy.modular.basics.service.ICompanyService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("companyService")
public class CompanyServiceImpl extends BaseServiceImpl<Company, String> implements ICompanyService {

	@Override
	public void validateEntity(Company e) throws ValidateParamException {
		// TODO Auto-generated method stub

	}

	@Resource
	private CompanyMapper companyMapper;

	@SuppressWarnings("rawtypes")
	@Override
	protected IBaseDao getBaseDao() {
		return this.companyMapper;
	}
}
